package leaf.cloud.gateway;

import leaf.cloud.common.security.annotation.EnableLeafFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @ClassName leaf.cloud.gateway.GatewayApplication
 * @Description
 * @Author YeZiHao
 * @Date 2023/2/23 18:35
 **/
@SpringBootApplication(scanBasePackages = "leaf.cloud", exclude = {DataSourceAutoConfiguration.class})
@EnableLeafFeignClients
//@EnableCustomConfig
@EnableScheduling
@EnableDiscoveryClient
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  网关启动成功   ლ(´ڡ`ლ)ﾞ  ");
    }
}

